package example06;
import java.awt.*;
import javax.swing.*;
import net.sf.jeppers.grid.*;

/**
 * @author <a href="mailto:grom@capsicumcorp.com">Cameron Zemek</a>
 */
public class BooleanCellEditor extends GenericCellEditor {
	private JCheckBox checkBox;
	
	public BooleanCellEditor() {
		super(new JCheckBox());
		checkBox = (JCheckBox) editorComponent;
		checkBox.setHorizontalAlignment(SwingConstants.CENTER);
		checkBox.setBackground(Color.WHITE);
	}
}
